export default {
    // 支持值为 Object 和 Array
    'GET /api/users': { users: [1, 2] },

    // GET POST 可省略
    '/api/users/1': { id: 1 },

    // 支持自定义函数，API 参考 express@4
    'POST /api/users/create': (req, res) => { res.end('OK'); },

    'POST /serWx/agent/query': {
        "code": 0,
        "data": {
            "agentId": 37,
            "agentName": "曹洪阁",
            "company": [
                {
                    "companyCode": "99999999",
                    "companyId": 20,
                    "companyName": "社保引导员",
                    "cusType": ""
                },
                {
                    "companyCode": "52996202",
                    "companyId": 22,
                    "companyName": "vip企业",
                    "cusType": ""
                }
            ],
            "idcard": "",
            "openId": "1234",
            "phone": "13817411970",
            "sex": 0
        },
        "success": true
    },

    'POST /serWx/agent/reg': {
        "code": 0,
        "data": "修改用户成功",
        "success": true
    },

    'POST /serWx/bus/items': {
        "code": 0,
        "data": [
            {
                "itemId": 1001041,
                "itemName": "退休、工伤劳鉴",
                "note": "退休、工伤劳鉴的介绍：此处是介绍"
            },
            {
                "itemId": 1001039,
                "itemName": "综合业务(财务)",
                "note": "综合业务(财务)的介绍：此处是介绍"
            },
            {
                "itemId": 1001003,
                "itemName": "综合业务(登记)",
                "note": "综合业务(登记)的介绍：此处是介绍"
            },
            {
                "itemId": 1001036,
                "itemName": "综合业务(机关)",
                "note": "综合业务(机关)的介绍：此处是介绍"
            },
            {
                "itemId": 1001040,
                "itemName": "综合业务(支付)",
                "note": "综合业务(支付)的介绍：此处是介绍"
            }
        ],
        "success": true
    }
    ,

    'POST /serWx/bus/regdate': { // 获取日期
        "code": 0,
        "data": [
            {
                "left": 28,
                "regdate": "2020-07-08",
                "total": 28,
                "weekday": "星期三"
            },
            {
                "left": 28,
                "regdate": "2020-07-09",
                "total": 28,
                "weekday": "星期四"
            },
            {
                "left": 28,
                "regdate": "2020-07-10",
                "total": 28,
                "weekday": "星期五"
            },
            {
                "left": 28,
                "regdate": "2020-07-13",
                "total": 28,
                "weekday": "星期一"
            },
            {
                "left": 28,
                "regdate": "2020-07-14",
                "total": 28,
                "weekday": "星期二"
            }
        ],
        "success": true
    },

    'POST /serWx/bus/branchs': {
        "code": 0,
        "data": [
            {
                "address": "上海常德路1436",
                "branchId": 1001,
                "latitude": 31.24438,
                "leftAm": 20,
                "leftPm": 20,
                "longitude": 121.43364,
                "name": "南区一层",
                "totalAm": 20,
                "totalPm": 20
            },
            {
                "address": "上海清峪路368弄",
                "branchId": 1002,
                "latitude": 31.240751,
                "leftAm": 5,
                "leftPm": 7,
                "longitude": 121.37006,
                "name": "南二",
                "totalAm": 5,
                "totalPm": 7
            }
        ],
        "success": true
    },
    'POST /serWx/bus/order': { // 预约
        "code": 0,
        "data": {
            "code": "00100101001039020200706020311138174119708782",
            "worktime": "9:00-16:00"
        },
        "success": true
    },
    'POST /serWx/bus/my': {
        "code": 0,
        "data": {
            "orders": [
                {
                    "ampm": "上午",
                    "branch": "南区一层",
                    "code": "100100101001039020200709015103138174119763553",
                    "item": "综合业务(财务)",
                    "qrCode": "1,100100101001039020200709015103138174119763553,1",
                    "regdate": "2020-07-09",
                    "state": 1
                },
                {
                    "ampm": "上午",
                    "branch": "南区一层",
                    "code": "100100101001039020200709035046138174119761362",
                    "item": "综合业务(财务)",
                    "qrCode": "1,100100101001039020200709035046138174119761362,0",
                    "regdate": new Date().toLocaleDateString(),
                    "state": 0
                }
            ],
            "queues": [
                {
                    "branch": "南区一层",
                    "code": "PC4001",
                    "items": [
                        {
                            "name": "综合业务(财务)",
                            "state": "未呼叫",
                            "wstation": 0
                        }
                    ],
                    "name": "综合咨询",
                    "qrCode": "0,20200709002923619,13817411976",
                    "state": "未呼叫",
                    "takeTime": "2020-07-09 00:29:23",
                    "wsno": 0
                },
                {
                    "branch": "南区一层",
                    "code": "PC4002",
                    "items": [
                        {
                            "name": "综合业务(财务)",
                            "state": "未呼叫",
                            "wstation": 0
                        }
                    ],
                    "name": "综合咨询",
                    "qrCode": "0,20200709014841225,13817411976",
                    "state": "未呼叫",
                    "takeTime": "2020-07-09 01:48:41",
                    "wsno": 0
                }
            ]
        },
        "success": true
    },
    'POST /serWx/bus/iworkday': {
        "code": 0,
        "data": true,
        "success": true
    },
    'POST /serWx/bus/tbranchs': {
        "code": 0,
        "data": [
            {
                "address": "上海常德路1436",
                "branchId": 1001,
                "latitude": 31.24438,
                "longitude": 121.43364,
                "name": "南区一层"
            },
            {
                "address": "上海清峪路368弄",
                "branchId": 1002,
                "latitude": 31.240751,
                "longitude": 121.37006,
                "name": "南二"
            }
        ],
        "success": true
    },
    'POST /serWx/bus/queue': {
        "code": 0,
        "data": "您已成功取号，您的号码为PD3001您前面有0人等候",
        "success": true
    },
    'POST /serWx/bus/active': {
        "code": 0,
        "data": "您已成功取号，您的号码为YC4001您前面有0人等候",
        "success": true
    },
    'POST /serWx/bus/cancelOrder': {
        "code": 0,
        "data": "取消预约成功",
        "success": true
    },
    'POST /serWx/bus/queryQue': {
        "code": 0,
        "data": {
            "branch": "南区一层",
            "code": "0202007092123042116775",
            "items": [
                {
                    "name": "综合业务(登记)",
                    "state": "未呼叫",
                    "wstation": 0
                }
            ],
            "name": "综合出件",
            "qrCode": "0,0202007092123042116775,13817411976",
            "queueNo": "PD3003",
            "state": "未呼叫",
            "takeTime": "2020-07-09 21:23:04",
            "wsno": 0
        },
        "success": true
    },
    'POST /serWx/bus/queryOrder': {
        "code": 0,
        "data": {
            "ampm": "下午",
            "branch": "南区一层",
            "code": "100100101001039120200709162353138174119760718",
            "item": "综合业务(财务)",
            "qrCode": "1,100100101001039120200709162353138174119760718,0",
            "regdate": "2020-07-09",
            "state": 0
        },
        "success": true
    }

};